<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<base href="__STATIC__/Admin/">
	<link href="styles/general.css" rel="stylesheet" type="text/css" />
	<link href="styles/main.css" rel="stylesheet" type="text/css" />
		<script src="/static/jquery.js"></script>
</head>
<body>
<h1>
	<span class="action-span"><a href="{:url('admin_add')}">添加管理员</a></span>
	<span class="action-span1"><a href="index.php?act=main">SHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 管理员列表 </span>
	<div style="clear:both"></div>
</h1>
  <!-- start goods list -->
	<div class="list-div" id="listDiv">
		<table cellpadding="3" cellspacing="1">
			<tbody>
				<tr>
					<th>用户名</th>
					<th>Email地址</th>
					<th>加入时间</th>
					<th>操作</th>
				</tr>
				<?php foreach ($data as $key => $v): ?>
				<tr>
					<td class="first-cell"><span><?php echo $v['user_name']?></span></td>
					<td align="center"><span><?php echo $v['user_email']?></span></td>
					<td align="center"><span><?php echo $v['add_time']?></span></td>
					<td align="center">
						<a href="{:url('admin_allot')}?user_id=<?php echo $v['user_id']?>" title="分配角色"><img src="images/icon_edit.gif" width="16" height="16" border="0"></a>
						<a href="{:url('admin_up')}?user_id=<?php echo $v['user_id']?>" title="编辑"><img src="images/icon_copy.gif" width="16" height="16" border="0"></a>
						<a href="{:url('admin_del')}?user_id=<?php echo $v['user_id']?>" title="删除"><img src="images/icon_copy.gif" width="16" height="16" border="0"></a>   
					</td>
				</tr>
				<?php endforeach ?>
  </tbody>
 </table>
<!-- end goods list -->
</div>
<div id="footer">
	版权所有 &copy; 2006-2013 软工教育 - 高级PHP - 
</div>
</body>
</html>